﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Hunter
    {
        public bool beastMasteryCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (beastMasteryPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (beastMasteryDungeonCombat())
                    return true;
            }
            else
            {
                if (beastMasteryQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool beastMasteryHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (beastMasteryPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (beastMasteryDungeonHeal())
                    return true;
            }
            else
            {
                if (beastMasteryQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool beastMasteryBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (beastMasteryPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (beastMasteryDungeonBuff())
                    return true;
            }
            else
            {
                if (beastMasteryQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool beastMasteryPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (beastMasteryPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (beastMasteryDungeonPullSpell())
                    return true;
            }
            else
            {
                if (beastMasteryQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
